using System.Collections.Generic;
using System.Text;
using System;
using NHibernate.Collection;
using NHibernate.Mapping;
using Iesi.Collections;
namespace WirtualneNauczanie 
{
class Students 
{
int studentid;
string studentname;
string emailaddress;

public Students()
{

}

public virtual int Studentid
{
get { return studentid; }
set { studentid= value; }
}

public virtual string Studentname
{
get { return studentname; }
set { studentname= value; }
}

public virtual string Emailaddress
{
get { return emailaddress; }
set { emailaddress= value; }
}

public override string ToString()
{
String s = "";
if(studentid!=null)
	s+= "studentid : "+ studentid.ToString()+"\n";
else
	s+= "studentid : null\n";
if(studentname!=null)
	s+= "studentname : "+ studentname.ToString()+"\n";
else
	s+= "studentname : null\n";
if(emailaddress!=null)
	s+= "emailaddress : "+ emailaddress.ToString()+"\n";
else
	s+= "emailaddress : null\n";
return s;
}


}
}
